package com.base.entity;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
public class UserData implements Serializable {

    private String userName;
    private int age;
    private String work;

    public UserData(String userName){
        this.userName = userName;
        this.age =2;
    }
}
